package com.offcn.seckill.thread;

import java.io.Serializable;
import java.util.Date;


public class SecKillOrderStatus implements Serializable {

    //秒杀用户
    private String username;

    //订单创建时间
    private Date createTime;

    //秒杀的状态 1： 排队中 2：等待支付  3： 支付超时  4：秒杀失败  5： 完成支付
    private Integer status;

    private Long goodsId;

    //应付金额
    private Float money;

    //订单id
    private Long orderId;

    private String time;

    public SecKillOrderStatus(String username, Date createTime, Integer status, Long goodsId, String time) {
        this.username = username;
        this.createTime = createTime;
        this.status = status;
        this.goodsId = goodsId;
        this.time = time;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
